package top.sqdpt.pt.statemachine.event;

import lombok.AllArgsConstructor;
import lombok.Data;
import top.sqdpt.pt.statemachine.action.PtStateAction;

/**
 * 事件
 *
 * @param <S> 状态枚举
 * @param <E> 事件枚举
 */
@AllArgsConstructor
@Data
public class PtStateEvent<S extends Enum<S>, E extends Enum<E>> {
    private E event;
    private PtStateAction<S> action;
}
